

let url = process.env.VUE_APP_BASE_API;

export default {
    editBtn:true,
    delBtn:false,
    editBtnIcon:'text',
    delBtnIcon:'text',
    tip: false,
    index: true,
    labelWidth:120,
    refreshBtn: false,
    columnBtn: false,
    searchShowBtn:false,
    gridBtn:false,
    searchMenuSpan: 6,
    searchLabelWidth:1,
    column: [
        {
            
            label: '',
            prop: 'searchContent',
            hide: true,
            searchPlaceholder :'名称/编码模糊搜索',
            display:false,
            search:true,
        },
        {
            label: '名称',
            prop: 'name',
            display:false
        },
        {
            label: '停用/启用',
            prop: 'disableFlag',
            display:false
        },
        // {
        //     label: '所属机构',
        //     prop: 'officialPname',
        //     display:false
        // },
        
       
        //机构管理员  - 新增编辑字段
        {
            label: '图片',
            prop: 'medPicture',
            span:24,
            hide: true,
            fieldType:2,
        },
        {
            label: '名称',
            prop: 'medName',
             hide: true,
            rules: [
                { required: true, message: "请输入机构名称", trigger: "blur" },
            ],
            fieldType:2
        },
        {
            label: '电话',
            prop: 'phone',
            hide: true,
            rules: [
                { required: true, message: "请输入机构电话", trigger: "blur" },
            ],
            fieldType:2,
        },
        {
            label: '所属机构',
            prop: 'officialPid',
            hide: true,
            rules: [
                { required: true, message: "请选择所属机构", trigger: "blur" },
            ],
            type:'select',
            props: {
               label: 'name',
               value: 'id'
           },
           dicData:[],
            fieldType:2,
        },
        {
            label: '登记号',
            prop: 'regisNum',
            hide: true,
            fieldType:2,
        },
        {
            label: '简称',
            prop: 'alais',
            hide: true,
            fieldType:2,
        },
       
        // {
        //     label: '医疗组织归属父',
        //     prop: 'medPid',
        //     hide: true,
        // },
        {
            label: '批准文号',
            prop: 'approvalNum',
            hide: true,
            fieldType:2,
        },{
            label: '识别码',
            prop: 'identiCode',
            hide: true,
            fieldType:2,
        },{
            label: '地址',
            prop: 'address',
            hide: true,
            fieldType:2,
        },{
            label: '属性',
            prop: 'medAttrId',
            type:'select',
            props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            hide: true,
            fieldType:2,
        },{
            label: '分类',
            prop: 'medTypeId',
             type:'select',
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            hide: true,
            fieldType:2,
        },{
            label: '级别',
            prop: 'medLevelId',
             type:'select',
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            hide: true,
            fieldType:2,
        },{
            label: '会诊属性',
            prop: 'consulAttrId',
             type:'select',
             hide: true,
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            hide: true,
            fieldType:2,
        },{
            label: '状态',
            prop: 'medStatusId',
             type:'select',
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            hide: true,
            fieldType:2,
        },{
            label: '云平台编码',
            prop: 'cloudCode',
            hide: true,
            fieldType:2,
        },{
            label: '启用时间',
            prop: 'enableDate',
            type: 'date',
            format: 'yyyy-MM-dd',
			valueFormat: 'yyyy-MM-dd',
            hide: true,
            fieldType:2,
        },{
            label: '住院收费级别',
            prop: 'inpatChargeLevelId',
             type:'select',
             hide: true,
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            fieldType:2,

        },{
            label: '门诊收费级别',
            prop: 'outpatChargeLevelId',
             type:'select',
             hide: true,
             props: {
                label: 'snName',
                value: 'snVal'
            },
            dicData:[],
            fieldType:2,
        },
        // {
        //     label: '服务范围组',
        //     prop: 'moduleGroupId',
        //      type:'select',
        //      hide: true,
        //      props: {
        //         label: 'snName',
        //         value: 'snVal'
        //     },
        //     dicData:[]
        // },
        
    ]
}